<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>face1</title>
    <link rel="stylesheet" href="../../model/view.css">
</head>
<body>
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< face1 ></a></p>
        </li>
        <li>
            <p><a href="#style">类型</a></p>
            <ul id="catalog_style">

            </ul>
        </li>
    </ul>
</div>
<div id="element">
    <h2>face</h2>
    <div>简介:</div>
    <p>聊天表情图</p>
</div>
<div id="style"></div>
<div></div>
<script src="../../js/script_min.js"></script>
<script src="../../model/view.js"></script>
<script>
    let face = new view("face");
    face.init([
        {style:1,data:[
            {img:"img/face1.png",code:`   < face height="272" id="button1" itemClick="(document,res)=>{
            document.$('chatItem').insert(res);
        }"  />`,title:"经典款"},

        ]}, {style:2,data:[
            {img:"img/face2.png",code:`        <face style="2" num="2" height="272" id="button6"
              >
            <item>
                <img>face/gifts/live_gift_005.png</img>
                <p price="10">礼物1</p>
            </item>
            <item>
                <img>face/gifts/live_gift_006.png</img>
                <p price="100">礼物2</p>
            </item>
            <item>
                <img>face/gifts/live_gift_007.png</img>
                <p price="20">礼物2</p>
            </item>
            <item>
                <img>face/gifts/live_gift_008.png</img>
                <p price="30">礼物3</p>
            </item>
            <item>
                <img>face/gifts/live_gift_009.png</img>
                <p price="90">礼物4</p>
            </item>
            <item>
                <img>face/gifts/live_gift_010.png</img>
                <p price="50">礼物5</p>
            </item>
            <item>
                <img>face/gifts/live_gift_011.png</img>
                <p price="60">礼物6</p>
            </item>
        </face>
`,title:"经典款"},

        ]},

    ]);
</script>
<div class="author"><p>by-姜进</p></div>
</body>
</html>